<%@ Control Inherits="CVCommunity.Admin.Alter" %>
<%@ Register tagPrefix="forum" namespace="CVCommunity.Provider" assembly="CVCommunity.Provider"%>

<form name="alter" id="alter" runat="server" onsubmit="return checknumber();">
<script language="javascript" src="../scripts/common.js"></script>
<script language="javascript" src="../scripts/calendar.js"></script>
<div class="grid" style="font-size:12px;">
<table cellpadding="5" cellspacing="0">
<tr>
<td width="403" valign="top"><table border="0" width="100%" cellpadding="4" cellspacing="4">
<tr>
<td height="45" colspan="2"><strong>论坛信息</strong></td>
</tr>
<tr>
<td width="165" style="width: 151px; height: 21px">注册名</td>
<td width="210" style="width: 151px; height: 21px"><asp:Label ID="Username" runat="server"></asp:Label></td>
</tr>
<tr>
<td valign="top"> 密码</td>
<td><asp:TextBox ID="Password" TextMode="Password" runat="server"></asp:TextBox>
<p>留空不修改 </p></td>
</tr>
<tr>
<td> 用户组</td>
<td><asp:DropDownList ID="grouplist" runat="server" /></td>
</tr>
<tr>
<td> 用户组有效日期</td>
<td><input name="text" type="text" id="GroupExpirty" onclick="calendar.setHook(this)" value="" readonly="readonly" runat="server" /></td>
</tr>
<tr>
<td> 积分</td>
<td><asp:TextBox ID="Credit0" runat="server" alt="numeric"></asp:TextBox></td>
</tr>
<tr>
<td> 金钱</td>
<td><asp:TextBox ID="Credit1" runat="server" alt="numeric"></asp:TextBox></td>
</tr>
<tr>
<td> 发表主题数</td>
<td><asp:TextBox ID="Topics" runat="server" alt="numeric"></asp:TextBox></td>
</tr>
<tr>
<td> 发表回复数</td>
<td><asp:TextBox ID="Replies" runat="server" alt="numeric"></asp:TextBox></td>
</tr>
<tr>
<td> 精华帖数</td>
<td><asp:TextBox ID="Elites" runat="server" alt="numeric"></asp:TextBox></td>
</tr>
<tr>
<td> 被删除帖数</td>
<td><asp:TextBox ID="Deletes" runat="server" alt="numeric"></asp:TextBox></td>
</tr>
<tr>
<td> 今日上传附件总大小</td>
<td><asp:TextBox ID="TodayUploadTotal" runat="server" alt="numeric"></asp:TextBox></td>
</tr>
<tr>
<td> 今日上传附件总次数</td>
<td><asp:TextBox ID="TodayUploadCount" runat="server" alt="numeric"></asp:TextBox></td>
</tr>
<tr>
<td> 登录次数</td>
<td><asp:TextBox ID="Logins" runat="server" alt="numeric"></asp:TextBox></td>
</tr>
<tr>
<td> 最后登录IP</td>
<td><asp:TextBox ID="LastIp" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td> 最后登录时间</td>
<td><asp:TextBox ID="LastTime" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td> 注册IP</td>
<td><asp:TextBox ID="JoinIp" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td> 注册时间</td>
<td><asp:TextBox ID="JoinTime" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td> 是否在线</td>
<td class="smallbox"><asp:RadioButtonList ID="Online" RepeatDirection="Horizontal" runat="server">
<asp:ListItem Text="在线" Value="1" />
<asp:ListItem Text="强制下线" Value="0" />
</asp:RadioButtonList></td>
</tr>
<tr>
<td> 在线时间总数</td>
<td><asp:TextBox ID="OnlineTotal" runat="server" alt="numeric"></asp:TextBox></td>
</tr>
<tr>
<td> 是否锁定</td>
<td class="smallbox"><asp:RadioButtonList ID="Locked" RepeatDirection="Horizontal" runat="server">
<asp:ListItem Text="锁定" Value="1" />
<asp:ListItem Text="解琐" Value="0" />
</asp:RadioButtonList></td>
</tr>
<tr>
<td> 解锁时间</td>
<td><input name="text" type="text" id="UnlockTime" onclick="calendar.setHook(this)" value="" readonly="readonly" runat="server" /></td>
</tr>
<tr>
<td>是否已经审核</td>
<td class="smallbox"><asp:RadioButtonList ID="Approved" RepeatDirection="Horizontal" runat="server">
<asp:ListItem Text="审核" Value="1" />
<asp:ListItem Text="未审核" Value="0" />
</asp:RadioButtonList></td>
</tr>
<tr>
<td>密码保护问题</td>
<td><input type="text" id="Question" size="35" maxlength="10" runat="server" /></td>
</tr>
<tr>
<td>答案</td>
<td><p>
<input type="text" id="Answer" size="35" maxlength="10" runat="server" />
</p>
<p>留空不修改 </p></td>
</tr>
<tr>
<td>安全登录问题</td>
<td><input type="text" id="LoginQuestion" size="35" maxlength="10" runat="server" /></td>
</tr>
<tr>
<td valign="top">答案</td>
<td><p>
<input type="text" id="LoginAnswer" size="35" maxlength="10" runat="server" />
</p>
<p>留空不修改 </p></td>
</tr>
<tr>
<td>头像</td>
<td><input type="text" id="Avatar" size="35" maxlength="10" runat="server" /></td>
</tr>
<tr>
<td>形象</td>
<td><input type="text" id="Visualization" size="35" maxlength="10" runat="server" /></td>
</tr>
</table></td>
<td valign="top"><table cellpadding="5" cellspacing="0" class="inner">
<tr>
<td colspan="2" height="45"><strong>基本资料</strong></td>
</tr>
<tr>
<td width="60" valign="top">真实姓名</td>
<td><input name="text2" type="text" id="NickName" runat="server" /></td>
</tr>
<tr>
<td valign="top">自封头衔</td>
<td><input name="text2" type="text" id="Rank" maxlength="16" runat="server" /></td>
</tr>
<tr>
<td>Email</td>
<td><input name="text2" type="text" id="Email" size="35" runat="server" /></td>
</tr>
<tr>
<td valign="top">性别</td>
<td class="smallbox"><asp:RadioButtonList runat="server" ID="Sex" RepeatDirection="Horizontal">
<asp:ListItem Value="1" Text="男" />
<asp:ListItem Value="0" Text="女" />
</asp:RadioButtonList></td>
</tr>
<tr>
<td>OICQ</td>
<td><input name="text2" type="text" id="QQ" size="35" maxlength="15" runat="server"/></td>
</tr>
<tr>
<td>MSN</td>
<td><input name="text2" type="text" id="Msn" size="35" runat="server" /></td>
</tr>
<tr>
<td>Yahoo</td>
<td><input name="text2" type="text" id="Yahoo" size="35" runat="server" /></td>
</tr>
<tr>
<td>GTalk</td>
<td><input name="text2" type="text" id="GTalk" size="35" runat="server" /></td>
</tr>
<tr>
<td>淘宝帐号</td>
<td><input name="text2" type="text" id="Taobao" size="35" runat="server" /></td>
</tr>
<tr>
<td>支付宝帐号</td>
<td><input name="text2" type="text" id="Alipay" size="35" runat="server" /></td>
</tr>
<tr>
<td>个人主页</td>
<td><input name="text2" type="text" id="Homepage" size="35" runat="server" /></td>
</tr>
<tr>
<td valign="top">个性签名</td>
<td><textarea name="textarea" id="Signature" style="height:100px; width:98%;" runat="server"></textarea></td>
</tr>
<tr>
<td colspan="2" height="45"><strong>详细资料</strong></td>
</tr>
<tr>
<td>出生日期</td>
<td><input name="Input" id="Year" size="4" maxlength="4" runat="server"/>
年
<select name="select" id="Month" runat="server">
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
月
<select name="select" id="Day" runat="server">
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
日</td>
</tr>
<tr>
<td>国家</td>
<td><select name="select" id="Nationality" runat="server">
<option value="blank" selected>保密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="China">中国</option>
<option value="Argentina">阿根廷</option>
<option value="Australia">澳大利亚</option>
<option value="Austria">奥地利</option>
<option value="Bahrain">巴林</option>
<option value="Belgium">比利时</option>
<option value="Bermuda">百慕大</option>
<option value="Bolivia">玻利维亚</option>
<option value="Brazil">巴西</option>
<option value="Canada">加拿大</option>
<option value="Chile">智利</option>
<option value="Colombia">哥伦比亚</option>
<option value="Croatia">克罗地亚</option>
<option value="Cuba">古巴</option>
<option value="Czech_Republic">捷克</option>
<option value="Denmark">丹麦</option>
<option value="Dominican_Republic">多米尼加</option>
<option value="Egypt">埃及</option>
<option value="Estonia">爱沙尼亚</option>
<option value="Finland">芬兰</option>
<option value="France">法国</option>
<option value="Germany">德国</option>
<option value="Great_Britain">英国</option>
<option value="Greece">希腊</option>
<option value="Honduras">洪都拉斯</option>
<option value="Hungary">匈牙利</option>
<option value="Iceland">冰岛</option>
<option value="India">印度</option>
<option value="Indonesia">印度尼西亚</option>
<option value="Iran">伊朗</option>
<option value="Iraq">伊拉克</option>
<option value="Ireland">爱尔兰</option>
<option value="Israel">以色列</option>
<option value="Italy">意大利</option>
<option value="Jamaica">牙买加</option>
<option value="Japan">日本</option>
<option value="Jordan">约旦</option>
<option value="Kazakstan">哈萨克</option>
<option value="Kenya">肯尼亚</option>
<option value="Kuwait">科威特</option>
<option value="Lebanon">黎巴嫩</option>
<option value="Lithuania">立陶宛</option>
<option value="Malaysia">马来西亚</option>
<option value="Malawi">马拉维</option>
<option value="Netherlands">荷兰</option>
<option value="New_Zealand">新西兰</option>
<option value="Nigeria">尼日利亚</option>
<option value="Norway">挪威</option>
<option value="Pakistan">巴基斯坦</option>
<option value="Panama">巴拿马</option>
<option value="Paraguay">巴拉圭</option>
<option value="Peru">秘鲁</option>
<option value="Poland">波兰</option>
<option value="Portugal">葡萄牙</option>
<option value="Romania">罗马尼亚</option>
<option value="Russia">俄罗斯</option>
<option value="Saudi_Arabia">沙特阿拉伯</option>
<option value="Singapore">新加坡</option>
<option value="Slovenia">斯洛文尼亚</option>
<option value="Solomon_Islands">所罗门</option>
<option value="Somalia">索马里</option>
<option value="South_Africa">南非</option>
<option value="South_Korea">韩国</option>
<option value="Spain">西班牙</option>
<option value="Sri_Lanka">印度</option>
<option value="Sweden">瑞典</option>
<option value="Switzerland">瑞士</option>
<option value="Thailand">泰国</option>
<option value="Trinidad_Tobago">多巴哥</option>
<option value="Turkey">土耳其</option>
<option value="Ukraine">乌克兰</option>
<option value="United_Arab_Emirates">阿联酋</option>
<option value="United_States">美国</option>
<option value="Uruguay">乌拉圭</option>
<option value="Yugoslavia">南斯拉夫</option>
<option value="Zambia">赞比亚</option>
<option value="Zimbabwe">津巴布韦</option>
</select></td>
</tr>
<tr>
<td>来自</td>
<td><script src="../scripts/area.js"></script>
<select name="province" onchange = "selectarea()">
</select>
&nbsp;
<select name="city" onchange = "selectarea()">
</select></td>
</tr>
<tr>
<td>收入水平</td>
<td><select name="select" size="1" id="Income" runat="server">
<option value="保密">保密</option>
<option value="1000元以下/月">1000元以下/月</option>
<option value="2000元/月">2000元/月</option>
<option value="4000元/月">4000元/月</option>
<option value="8000元/月">8000元/月</option>
<option value="20000元/月">20000元/月</option>
<option value="20000元以上/月">20000元以上/月</option>
</select></td>
</tr>
<tr>
<td>婚姻状况</td>
<td><font color="#000000">
<select name="select" id="Marriage" runat="server">
<option value="保密">保密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="未婚">未婚</option>
<option value="已婚">已婚</option>
<option value="离婚">离婚</option>
</select>
</font></td>
</tr>
<tr>
<td>所属行业</td>
<td><select name="select" size="1" id="Work" runat="server">
<option value="保密">保密</option>
<option value="金融业">金融业</option>
<option value="服务业">服务业</option>
<option value="信息产业">信息产业</option>
<option value="制造业">制造业</option>
<option value="制造业">传播业</option>
<option value="教育">教育</option>
<option value="政府机构">政府机构</option>
<option value="医疗保健">医疗保健</option>
<option value="房地产">房地产</option>
<option value="其它">其它</option>
</select></td>
</tr>
<tr>
<td>职位</td>
<td><select id="Occupation" title="从事职业" name="occupation" runat="server">
<option value="保密">保密</option>
<option value="学生">学生</option>
<option value="职员">职员</option>
<option value="经理">经理</option>
<option value="专业人士">专业人士</option>
<option value="公务员">公务员</option>
<option value="私营主">私营主</option>
<option value="待业">待业</option>
<option value="退休">退休</option>
<option value="其它">其它</option>
</select></td>
</tr>
<tr>
<td>星座</td>
<td><select name="select" id="Star" runat="server">
<option value="保密">保密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="白羊座">白羊座</option>
<option value="金牛座">金牛座</option>
<option value="双子座">双子座</option>
<option value="巨蟹座">巨蟹座</option>
<option value="狮子座">狮子座</option>
<option value="处女座">处女座</option>
<option value="天秤座">天秤座</option>
<option value="天蝎座">天蝎座</option>
<option value="射手座">射手座</option>
<option value="魔羯座">魔羯座</option>
<option value="水瓶座">水瓶座</option>
<option value="双鱼座">双鱼座</option>
</select></td>
</tr>
<tr>
<td>血型</td>
<td><select name="select" id="Blood" runat="server">
<option value="保密" selected>保密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="A">A</option>
<option value="B">B</option>
<option value="AB">AB</option>
<option value="O">O</option>
</select></td>
</tr>
<tr>
<td>文化程度</td>
<td><select name="select" id="Education" runat="server">
<option value="保密">保密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="初中">初中</option>
<option value="高中">高中</option>
<option value="中专">中专</option>
<option value="大专">大专</option>
<option value="大学">大学</option>
<option value="硕士">硕士</option>
<option value="博士">博士</option>
</select></td>
</tr>
<tr>
<td>证件类型</td>
<td><font color="#000000">
<select name="select" id="IdType" runat="server">
<option value="身份证">身份证&nbsp;&nbsp;&nbsp;</option>
<option value="学生证">学生证&nbsp;&nbsp;&nbsp;</option>
<option value="工作证">工作证&nbsp;&nbsp;&nbsp;</option>
<option value="驾驶证">驾驶证&nbsp;&nbsp;&nbsp;</option>
</select>
</font></td>
</tr>
<tr>
<td>证件号码</td>
<td><input type="text" id="IdNumber" size="35" maxlength="20" runat="server" /></td>
</tr>
<tr>
<td>联系电话</td>
<td><input type="text" id="Telephone" size="35" maxlength="20" runat="server" /></td>
</tr>
<tr>
<td>手机号码</td>
<td><input type="text" id="Cellphone" size="35" maxlength="11" runat="server" /></td>
</tr>
<tr>
<td>通讯地址</td>
<td><input type="text" id="Address" size="35" runat="server" /></td>
</tr>
<tr>
<td>邮政编码</td>
<td><input type="text" id="Postcode" size="35" maxlength="10" runat="server" /></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" cellpadding="5" cellspacing="5">
<tr>
<td colspan="2" height="45"><strong>自定义设置</strong></td>
</tr>
<tr>
<td>界面风格</td>
<td width="80%"><select id="template" runat="server">
<option value="">- 使用默认 -</option>
</select></td>
</tr>
<tr>
<td width="20%">每页主题数</td>
<td><select id="tps" runat="server">
<option value="0">- 使用默认 -</option>
<option value="10">10</option>
<option value="20">20</option>
<option value="30">30</option>
</select></td>
</tr>
<tr>
<td>每页回复数</td>
<td><select id="rps" runat="server">
<option value="0">- 使用默认 -</option>
<option value="5">5</option>
<option value="10">10</option>
<option value="15">15</option>
</select></td>
</tr>
<tr>
<td>时差设定</td>
<td><select id="timezone" runat="server">
<option value="9999" selected="selected">- 使用默认 -</option>
<option value="-12">(GMT -12:00) Eniwetok, Kwajalein</option>
<option value="-11">(GMT -11:00) Midway Island, Samoa</option>
<option value="-10">(GMT   -10:00) Hawaii</option>
<option value="-9">(GMT -09:00) Alaska</option>
<option value="-8">(GMT -08:00) Pacific Time (US &amp; Canada), Tijuana</option>
<option value="-7">(GMT -07:00) Mountain Time (US &amp; Canada), Arizona</option>
<option value="-6">(GMT -06:00) Central Time (US &amp; Canada), Mexico City</option>
<option value="-5">(GMT -05:00) Eastern Time (US &amp; Canada), Bogota, Lima,   Quito</option>
<option value="-4">(GMT -04:00) Atlantic Time (Canada), Caracas, La   Paz</option>
<option value="-3">(GMT -03:00) Brassila, Buenos Aires, Georgetown, Falkland Is</option>
<option value="-2">(GMT -02:00) Mid-Atlantic, Ascension Is., St. Helena</option>
<option value="-1">(GMT -01:00) Azores, Cape Verde Islands</option>
<option value="0">(GMT) Casablanca, Dublin, Edinburgh, London, Lisbon, Monrovia</option>
<option value="1">(GMT +01:00) Amsterdam, Berlin, Brussels, Madrid, Paris,   Rome</option>
<option value="2">(GMT +02:00) Cairo, Helsinki, Kaliningrad, South   Africa</option>
<option value="3">(GMT +03:00) Baghdad, Riyadh, Moscow,   Nairobi</option>
<option value="4">(GMT +04:00) Abu Dhabi, Baku, Muscat, Tbilisi</option>
<option value="5">(GMT +05:00) Ekaterinburg,   Islamabad, Karachi, Tashkent</option>
<option value="6">(GMT +06:00) Almaty, Colombo, Dhaka,   Novosibirsk</option>
<option value="7">(GMT +07:00) Bangkok, Hanoi, Jakarta</option>
<option value="8">(GMT   +08:00) Beijing, Hong Kong, Perth, Singapore, Taipei</option>
<option value="9">(GMT +09:00) Osaka, Sapporo, Seoul, Tokyo, Yakutsk</option>
<option value="10">(GMT +10:00)   Canberra, Guam, Melbourne, Sydney, Vladivostok</option>
<option value="11">(GMT   +11:00) Magadan, New Caledonia, Solomon Islands</option>
<option value="12">(GMT   +12:00) Auckland, Wellington, Fiji, Marshall Island</option>
</select></td>
</tr>
<tr>
<td>日期格式</td>
<td><select id="dateformat" runat="server">
<option value="">- 使用默认 -</option>
<option value="yyyy-MM-dd">yyyy-MM-dd</option>
<option value="yy-MM-dd">yy-MM-dd</option>
<option value="MM-dd">MM-dd</option>
<option value="yy年MM月dd日">yy年MM月dd日</option>
</select></td>
</tr>
<tr>
<td valign="top">时间格式</td>
<td class="smallbox"><asp:RadioButtonList ID="timeformat" RepeatDirection="Horizontal" runat="server">
<asp:ListItem Text="默认" Value="" />
<asp:ListItem Text="12 小时" Value="hh:mm" />
<asp:ListItem Text="24 小时" Value="HH:mm" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td valign="top">短消息提示类型</td>
<td class="smallbox"><asp:RadioButtonList ID="messageprompt" RepeatDirection="Horizontal" runat="server">
<asp:ListItem Text="声音提示" Value="1" />
<asp:ListItem Text="窗口提示" Value="2" />
<asp:ListItem Text="闪烁提示" Value="3" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td valign="top">短消息提示音</td>
<td class="smallbox"><asp:RadioButtonList ID="messagesound" RepeatDirection="Horizontal" runat="server">
<asp:ListItem Text="无" Value="0" />
<asp:ListItem Text="#1" Value="1.wav" />
<asp:ListItem Text="#2" Value="2.wav" />
<asp:ListItem Text="#3" Value="3.wav" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td valign="top">隐身登录</td>
<td class="smallbox"><asp:RadioButtonList ID="fadedlogin" RepeatDirection="Horizontal" runat="server">
<asp:ListItem Text="是" Value="1" />
<asp:ListItem Text="否" Value="0" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td valign="top">显示用户个性签名</td>
<td class="smallbox"><asp:RadioButtonList ID="showsignature" RepeatDirection="Horizontal" runat="server">
<asp:ListItem Text="是" Value="1" />
<asp:ListItem Text="否" Value="0" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><asp:Button ID="button" Text="保存修改" CssClass="button" runat="server" OnClick="btSaveData" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="返回" class="button" onclick="history.back();" /></td>
</tr>
</table>
</div>
</form>
<script>
init(form());
checkbyvalue(form().province, '<%=Province%>');
form().province.onchange();
checkbyvalue(form().city, '<%=City%>');
</script>